{block name="title" prepend}Выдать из банк альянса{/block}
{block name="content"}
<form id="trader" action="game.php?page=alliance" method="post">
    <input type="hidden" name="mode" value="admin">
	<input type="hidden" name="action" value="vid_send">
	<table class="table569">
	<tr>
		<th colspan="3">Выдать из банк альянса</th>
	</tr>
	<tr>
        <td colspan="3">
            <select name="id_u" size="20" style="width:50%; height:100px; clear:both;">
            	{$Userlist}
            </select>
                
                <script type="text/javascript">
                    var UserList = new filterlist(document.getElementsByName('id_u')[0]);
                </script>

            <br />
            <input name="regexp" onKeyUp="UserList.set(this.value)">
            <input type="button" onClick="UserList.set(this.form.regexp.value)" value="Фильтр">
            <input type="button" onClick="UserList.reset();this.form.regexp.value=''" value="Отменить">
        </td>
    </tr>
	<tr>
		<td>Ресурс</td>
		<td><span id="ress">0</span></td>
        <td>В банке</td>
	</tr>
	<tr>
		<td><label for="resource901">{$LNG.tech[901]}</label></td>
		<td><input name="resource901" id="resource901" class="trade_input" type="text" value="0" size="30"></td>
        <td><label for="resource901">{$ally_metal|number}</label></td>
	</tr>
	<tr>
		<td><label for="resource902">{$LNG.tech[902]}</label></td>
		<td><input name="resource902" id="resource902" class="trade_input" type="text" value="0" size="30"></td>
        <td><label for="resource901">{$ally_crystal|number}</label></td>
	</tr>
    <tr>
		<td><label for="resource903">{$LNG.tech[903]}</label></td>
		<td><input name="resource903" id="resource903" class="trade_input" type="text" value="0" size="30"></td>
        <td><label for="resource901">{$ally_deuterium|number}</label></td>
	</tr>
	<tr>
		<td colspan="3"><input type="submit" value="ОК"></td>
	</tr>
	</table>
</form>
{/block}
{block name="script" append}
<script type="text/javascript">
var ress1charge = 1;
var ress2charge = 1;
var ress3charge = 1;
</script>
{/block}